// -----------------------------------------------------------------------
//  <copyright file="WebApplicationExtensions.cs" company="LiuliuSoft">
//      Copyright (c) 2022-2025 DaprPlus. All rights reserved.
//  </copyright>
//  <site>https://www.dapr.plus</site>
//  <last-editor>郭明锋</last-editor>
//  <last-date>2025-02-13 21:02</last-date>
// -----------------------------------------------------------------------

using Microsoft.AspNetCore.Builder;


namespace DaprPlus.Authorization.AspNetCore;

public static class WebApplicationExtensions
{
    public static WebApplication UseTokenParsing(this WebApplication app)
    {
        app.UseMiddleware<TokenParsingMiddleware>();
        return app;
    }
}
